<!--
 * @Description: 
 * @Date: 2020-12-17 10:25:20
 * @LastEditors: lother
 * @LastEditTime: 2020-12-29 17:15:41
 * @FilePath: \AccountOpening-H5\src\components\page\k-text.vue
-->
<template>
        <div v-html="value" class="text-list"></div>
</template>
<script>
export default {
    name:"k-text",
    props:{
        val:{
            type:String,
            default:()=>''
        }
    },
    data() {
        return {
            value:""
        }
    },
    created(){
        this.value = this.val
    },
}
</script>
<style lang="less" scoped>
    .text-list{
        max-height: 6rem;
        position: relative;
        overflow: auto;
        .size;
        line-height: 0.4rem;
        margin: 0.2rem 0;
        white-space: break-spaces;
    }
</style>